using System;
using System.ComponentModel;
using System.Xml.Serialization;

namespace com.exceptionalsoftware.spacetime.KML
{
	[Serializable()]
    [XmlType(TypeName = "Schema")]
    public class SchemaType
	{
        private SimpleFieldType[] simpleFieldField;
        private string nameField;
        private string idField;

        [System.Xml.Serialization.XmlElementAttribute("SimpleField")]
        public SimpleFieldType[] SimpleField
        {
            get { return this.simpleFieldField; }
            set { this.simpleFieldField = value; }
        }

        [XmlAttribute(AttributeName = "name", DataType = "string")]
        public string name
        {
            get { return this.nameField; }
            set { this.nameField = value; }
        }

        [XmlAttribute(AttributeName = "id", DataType = "ID")]
        public string ID
        {
            get { return this.idField; }
            set { this.idField = value; }
        }
    }
}